//
//  ALPListenListDetailsModel.m
//  AlpFM
//
//  Created by dllo on 16/2/27.
//  Copyright © 2016年 Alp. All rights reserved.
//

#import "ALPListenListDetailsModel.h"
#import "ALPListenListDetailModelList.h"

@implementation ALPListenListDetailsModel

-(void)setInfo:(NSMutableDictionary *)info{
    _info = info;
    self.smallModel = [[ALPListenListDetailsModelSmall alloc]init];
    [self.smallModel setValuesForKeysWithDictionary:info];
}

-(void)setList:(NSMutableArray *)list{
    _list = list;
    NSMutableArray *array = [NSMutableArray array];
    for (NSMutableDictionary *dic in _list) {
        ALPListenListDetailModelList *listMol = [[ALPListenListDetailModelList alloc]init];
        [listMol setValuesForKeysWithDictionary:dic];
        [array addObject:listMol];
    }
    _list = [NSMutableArray arrayWithArray:array];
}
@end
